#ifndef time_h
#define time_h

#include "Engine.h"
#include "ReferenceCounted.h"

namespace hxe
{
    class Time : public virtual ReferenceCounted
    {
        friend class Engine;

    public:
        void update();
        float getDeltaTime() const;

    private:
        float deltaTime;
        float lastTime;

        Time();
    };
}

#endif 